#pragma once

#include "ScriptObjectBase.h"

class CJSObj_WebsiteInfo : public CScriptObject
{
public:
	CJSObj_WebsiteInfo(IWebBrowser2* pWeb);
	CJSObj_WebsiteInfo(IWebBrowser2* pWeb, IDispatch* pDisp);

	void GetAll();
	void SetAll();

public:
	_bstr_t m_bstrWebsiteID;
	_bstr_t m_bstrWebsiteName;
	_bstr_t m_bstrUrl;
	
	_bstr_t m_bstrUserName;
	_bstr_t m_bstrPassWord;
	
	VARIANT_BOOL m_vbChecked;
	VARIANT_BOOL m_vbNeedPost;
	_bstr_t m_bstrPostUrl;
	
	VARIANT_BOOL m_vbNeedIdentifyingCode;
	_bstr_t m_bstrLocalIDCPic;
	_bstr_t m_bstrIDCInput;
};
